class Student:
    def __init__(self, id, name, age, sex, high, weigh, grade, address, phone):
        self.__id = id
        self.__name = name
        self.__age = age
        self.__sex = sex
        self.__high = high
        self.__weigh = weigh
        self.__grade = grade
        self.__address = address
        self.__phone = phone

    def learn(self):
        learn_times = int(input("请输入游戏时长："))
        print(learn_times)

    def playgame(self):
        game_name = input("请输入游戏名称：")
        print(game_name)

    def programming(self):
        line = int(input("请输入写代码的行数："))
        print(line)

    def sums(self, *args):
        sums = 0
        sums +=args
        return sums


class Car:
    def __init__(self, types, wheels, color, heavy, tank_size):
        self.types = types
        self.wheels: int = wheels
        self.color = color
        self.heavy = heavy
        self.tank_size = tank_size

    def function(self):
        function = input("请输入车的功能：")
        return function


car1 = Car('法拉利', 4, '黄色', '1.5t', '300L')
car1.function()
car2 = Car('宝马', 4, '黑色', '2.0', '400L')
car2.function()
car3 = Car('铃木', 4, '橙色', '1.2t', '300L')
car3.function()
car4 = Car('五菱', 4, '白色', '4.0t', '500L')
car4.function()
car5 = Car('拖拉机', 3, '黑色', '2.0', '300L')
car5.function()


class Laptop:
    def __init__(self, types, standby, color, heavy, cpu, memory, harddrive):
        self.types = types
        self.standby = standby
        self.color = color
        self.heavy = heavy
        self.cpu = cpu
        self.memory = memory
        self.harddrive = harddrive

    def play(self):
        game = input('请输入游戏名称：')
        print(game)

    def office(self):
        off = input('请输入办公软件：')
        print(off)


class Monkey:
    def __init__(self, types, sex, color, heavy):
        self.types = types
        self.sex = sex
        self.__color = color
        self.heavy = heavy

    def makefire(self):
        material = input('请输入造火材料：')
        print(material)

    def study_things(self, *args):
        thing_list = list(args)
        print(thing_list)